package com.cheer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cheer.entity.ConfigSwitch;
import com.cheer.enums.SwitchEnum;
import com.cheer.vo.ConfigSwitchVO;

import java.util.Date;
import java.util.List;

/**
 * 文档模板表
 *
 * @author chufangzheng
 * @email 1280251739@qq.com
 * @date 2021-10-20 16:11:30
 */
public interface ConfigSwitchService extends IService<ConfigSwitch> {

    List<ConfigSwitchVO> info();

    void updateStatus(Long id, Integer status);

    void updateTime(Long id, Date time);

    ConfigSwitch getSwitchByEnum(SwitchEnum switchEnum);

}

